import { ApiProperty } from "@nestjs/swagger";
import { IsString, MinLength } from "class-validator";

export class CreateQualityDto {
  @IsString()
  @ApiProperty({
    description: "商品质量",
  })
  @MinLength(1)
  value: string;
}
